package com.snl.micro.blog.user.pojo.po;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoPo {

    private Long id;
    private String username;
    private String password;
    private String nickname;
    private LocalDateTime birthDay;
    private Integer age;
    private String imgUrl;

    private String email;

    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS",timezone = "GMT+8")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS",timezone = "GMT+8")
    private LocalDateTime updateTime;

}
